﻿<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <#include "../common/header.ftl">
    <script src="/js/plugins/jquery-bootstrap/jquery.bootstrap.min.js"></script>

</head>
<body>

<div class="container-fluid" style="margin-top: 20px">
    <#include "../common/top.ftl">
    <div class="row">
        <div class="col-lg-2">
            <#assign menu="formalCustomer">
            <#include "../common/menu.ftl">
        </div>
        <div class="col-lg-10">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-head-line">正式客户管理</h1>
                </div>
            </div>

            <form class="form-horizontal" action="/formalCustomer/list.do" method="post" id="searchForm">
                <input type="hidden" name="currentPage" id="currentPage" value="1">
                <input type="hidden" name="pageSize" id="pageSize" value="20">
                <a href="/customer/list.do?source=1" class="btn btn-success">
                    <span class="glyphicon glyphicon-plus"></span> 添加
                </a>
            </form>
                <table class="table table-striped table-hover" >
                    <tr>
                        <th>编号</th>
                        <th>客户姓名</th>
                        <th>销售时间</th>
                        <th>销售课程</th>
                        <th>总课程数</th>
                        <th>剩余课程</th>
                        <th>销售员</th>
                        <th>操作</th>
                    </tr>
                    <#list ro.list as entity>
                        <tr>
                            <td>${(entity_index+1)!}</td>
                            <td>${(entity.customer.name)!}</td>
                            <td>${((entity.vdate)?string("yyyy-MM-dd"))!}</td>
                            <td>${(entity.curriculum.title)!}</td>
                            <td>${(entity.coursesCount)!}</td>
                            <td>${(entity.coursesSurplus)!}</td>
                            <td>${(entity.seller.name)!}</td>
                            <td>
                                <a role="button" class="btn btn-primary btn-xs" data-json='#'>
                                    <span class="glyphicon glyphicon-minus"></span> 消课
                                </a>
                                <a role="button" class="btn btn-warning btn-xs" data-json='#'>
                                    <span class="glyphicon glyphicon-minus-sign"></span> 结课
                                </a>

                                <a role="button" class="btn btn-info btn-xs" data-json='#'>
                                    <span class="glyphicon glyphicon-eye-open"></span> 详细信息
                                </a>
                            </td>
                        </tr>
                    </#list>
                </table>

            <#include "../common/page.ftl">
        </div>
    </div>
</div>




</body>
</html>